<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo @$title;?> </title>
<meta name="keywords" content="<?php echo CON_KEYWORDS;?>" />
<meta name="description" content="<?php echo CON_DESCRIPTION;?>" />
</head>
<body>
<?php $i=1;$j=0;foreach($borrow_list as $borrow){?>
<li onmousemove="javascript:this.style.backgroundColor='#F1FAFF';" onmouseout="javascript:this.style.backgroundColor='#FFFFFF';">
<div class="ychinvest_warp_pt"><img src="<?php echo is_file('./static/data/avatar/'.$borrow['user_id'].'_avatar_big.jpg') ? '/static/data/avatar/'.$borrow['user_id'].'_avatar_big.jpg':'/static/data/avatar/noavatar_big.gif';?>" /></div>
<div class="ychinvest_warp_h3"><a href="/borrow/obj/<?php echo $borrow['id'];?>" ><?php echo utf8substr($borrow['title'], 0, 12);?></a><img src="/static/images/ftype_<?php echo $borrow['ftype']?>.jpg">
<img src="/static/images/danbao.jpg">
</div>
<div class="ychinvest_warp_money"><?php echo $borrow['account'];?>元</div>
<div class="ychinvest_warp_time"><?php if($borrow['is_day'] == 1){echo $borrow['time_limit_day'].'天';}else{echo $borrow['time_limit'].'个月';}?></div>
<div class="ychinvest_warp_li"><?php echo $borrow['apr'];?>%</div>
<div class="ychinvest_warp_jiang"><?php echo $borrow['funds'];?>%</div>
<div class="ychinvest_warp_jin"><div class="progress"><div style="width: <?php echo round($borrow['account_yes']/$borrow['account']*100, 2);?>%;" class="bar"><?php if($borrow['account_yes']/$borrow['account']*100 > 50){?><span style="color:#FFF;"><?php echo round($borrow['account_yes']/$borrow['account']*100, 2);?>%</span><?php }else{ ?><span style="color:#333;"><?php echo round($borrow['account_yes']/$borrow['account']*100, 2);?>%</span> <?php }?></div></div></div>
<div class="ychinvest_warp_chao">

<?php if($borrow['ftype'] != 4 && $borrow['fstatus'] == 3){?>
<font class="ychinvest_grey">已满</font>
<?php }elseif($borrow['ftype'] == 4 && $borrow['account'] == $borrow['account_yes']){?>
<font class="ychinvest_grey">已满</font>
<?php }else{?>
<font class="ychinvest_orange"><a href="/borrow/obj/<?php echo $borrow['id'];?>">投资</a></font>
<?php }?>
</div>
</li>
<?php }?>
<div style="display:none;">
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fbddfbd985badab4bfe8fee07203cc21e' type='text/javascript'%3E%3C/script%3E"));
</script>
<script src="http://s11.cnzz.com/stat.php?id=4565714&web_id=4565714&show=pic" language="JavaScript"></script>
</div>
</body>
</html>